home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Merciful 2
/
Merciful - Disc 2.iso
/
software
/
i
/
imaginev3.2a.dms
/
imaginev3.2a.adf
/
Install
< prev
next >
Wrap
Text File
|
1995-03-20
|
2KB
|
92 lines
(welcome "Welcome to the Imagine 3.2 upgrade.")
(set @app-name "Imagine 3.2")
(set tmp @user-level)
(user 2)
(set inttype
(askchoice
(prompt "Please select the proper version of Imagine to install on your system.")
(help @askchoice-help)
(choices "Imagine 3.2 Floating Point Version" "Imagine 3.2 Integer Version")
(default 0)
)
)
(user tmp)
(set instdir
(askdir
(prompt "Please enter your new Imagine 3.2 path.")
(help @askdir-help)
(default "Work:im32")
(newpath)
(disk)
)
)
(if ( = (exists instdir (noreq)) 1) ;if selected path is a file...
;then delete file and make dir
(
(set tmp @user-level)
(user 2)
(delete instdir
(prompt ("\n\"%s\" exists as a file.\n\nDelete and continue?" instdir))
(help "\nSelecting \"Proceed\" will delete the existing file. "
"Selecting \"Abort Install\" will cancel operation. "
"Install again in either Intermediate or Expert level to change the installation path.")
(confirm)
(optional "askuser")
)
(user tmp)
(makedir instdir
(prompt ("creating directory \"%s\"" instdir))
(help @makedir-help)
(infos)
(confirm)
)
)
;else
(
(if ( = (exists instdir (noreq)) 0) ;if selected path doesn't exist...
;then create dir
(makedir instdir
(prompt ("creating directory \"%s\"" instdir))
(help @makedir-help)
(infos)
(confirm)
)
;else directory is already there - use it.
;()
)
)
)
(if inttype
(
(askdisk sourcedrive
(prompt "\nPlease insert the disk labeled \"Imagine 3.2 Disk 2\" in any drive.")
(help @askdisk-help)
(dest "disk2")
(assigns)
)
(run ("disk2:lharc >nil: -n -m x disk2:im32_2.lzh \"%s/\"" instdir)
(prompt "\nDe-Arcing integer version program files...");
)
)
;else
(
(askdisk sourcedrive
(prompt "\nPlease insert the disk labeled \"Imagine 3.2 Disk 1\" in any drive.")
(help @askdisk-help)
(dest "disk1")
(assigns)
)
(run ("disk1:lharc >nil: -n -m x disk1:im32_1.lzh \"%s/\"" instdir)
(prompt "\nDe-Arcing floating point version program files...");
)
)
)
(set @default-dest instdir)